package com.wshl.aijiuunion.view.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/11/15.
 */

public class AreaListBean {


    /**
     * code : 200
     * msg : 成功
     * data : [{"id":1,"parent_id":0,"code":"100000","name":"华东地区","created_at":"2018-11-20 10:55:56","updated_at":"2018-11-20 10:55:56"},{"id":3295,"parent_id":0,"code":"100001","name":"华南地区","created_at":"2019-02-28 09:47:33","updated_at":"2019-02-28 09:47:35"},{"id":3296,"parent_id":0,"code":"100002","name":"华中地区","created_at":"2019-02-28 09:47:56","updated_at":"2019-02-28 09:47:59"},{"id":3297,"parent_id":0,"code":"100003","name":"华北地区","created_at":"2019-02-28 09:48:10","updated_at":"2019-02-28 09:48:11"},{"id":3298,"parent_id":0,"code":"100004","name":"西北地区","created_at":"2019-02-28 09:48:39","updated_at":"2019-02-28 09:48:41"},{"id":3299,"parent_id":0,"code":"100005","name":"西南地区","created_at":"2019-02-28 09:48:50","updated_at":"2019-02-28 09:48:52"},{"id":3300,"parent_id":0,"code":"100006","name":"东北地区","created_at":"2019-02-28 09:49:06","updated_at":"2019-02-28 09:49:07"},{"id":3301,"parent_id":0,"code":"100007","name":"港澳台地区","created_at":"2019-02-28 09:49:18","updated_at":"2019-02-28 09:49:19"}]
     * more : []
     */

    private int code;
    private String msg;
    private List<DataBean> data;
    private List<?> more;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public List<?> getMore() {
        return more;
    }

    public void setMore(List<?> more) {
        this.more = more;
    }

    public static class DataBean {
        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public DataBean(int flag, String name) {
            this.flag = flag;
            this.name = name;
        }

        /**
         * id : 1
         * parent_id : 0
         * code : 100000
         * name : 华东地区
         * created_at : 2018-11-20 10:55:56
         * updated_at : 2018-11-20 10:55:56
         */


        private int flag;
        private int id;
        private int parent_id;
        private String code;
        private String name;
        private String created_at;
        private String updated_at;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getParent_id() {
            return parent_id;
        }

        public void setParent_id(int parent_id) {
            this.parent_id = parent_id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }
    }
}
